<!DOCTYPE html>
<html lang="en">
<head>
    <title>注册账户</title>
    <#include "links.ftl">

    <script>
        var sendSmsUrl = 'http://122.114.5.206:7070/snd/sms/opt=update&fid=reg'
    </script>
</head>
<body>
<!--导航-->
<#include "header.ftl">
<div class="login_user">
    <div class="user_info">
        <div class="logo">
            <img src="${basePath}/img/icon/logo-max.png">
        </div>
        <div class="content">
            <form action="/user/manager/user/register" method="POST" id="form">
                <#if error??>
                    <div>
                        <p class="error">${error}</p>
                    </div>
                </#if>
                <div class="item">
                    <label class="phone"></label>
                    <input class="input" id="phone" name="phone" type="number" placeholder="手机号码">
                </div>
                <div class="item">
                    <label class="security"></label>
                    <input class="input" id="code" name="code" maxlength="6" placeholder="输入验证码">
                    <button id="security_code" class="security_code" type="button">获取验证码</button>
                </div>
                <div class="item">
                    <label class="pwd"></label>
                    <input class="input" type="password" id="pwd" name="pwd" placeholder="新密码">
                </div>
                <div class="item">
                    <label class="ok"></label>
                    <input class="input" type="password" id="pwds" placeholder="确认密码">
                </div>
            </form>
        </div>
        <div class="save">
            <button onclick="updatePassword()">注册</button>
        </div>
    </div>
</div>
<!--底部-->
<#include "footer.ftl">

<#--验证码js-->
<#include "security_code.ftl">
</body>
</html>